#ifndef CHAT_H
#define CHAT_H

#include <QWidget>
#include<QPoint>
#include<QMouseEvent>

namespace Ui {
class chat;
}

class chat : public QWidget
{
    Q_OBJECT

public:
    explicit chat(QWidget *parent,QString memname);
    ~chat();
    Ui::chat *ui;

private slots:
    void on_pushButton_10_clicked();

    void on_pushButton_11_clicked();

    void on_pushButton_12_clicked();




private:
    QPoint p;


protected:
    void mousePressEvent(QMouseEvent *e);
    void mouseMoveEvent(QMouseEvent *e);
};

#endif // CHAT_H
